<style>
    body{
        background-color: #f9f9f9;
        overflow-y: hidden;
    }
    .xh-form .btn{
        margin-right: 0px;
    }
    .textbox-text .textbox-prompt{
        color: white;
    }
    .form-control[readonly]{
        background-color: white;
    }
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .combo{
        border-radius:4px
    }
    .easyui-fluid{
        width: 160px ;!important;
    }

</style>
<form id="xh_form" class="xh-form"  method="post"  action="{{ url("pm/project/saveProject") }}"  style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">
            <tr>
                {% if iProjectGrade == 1 %}
                <td><label style="width: 75px">选择产品:</label></td>
                <td width="160">
                    <select id="apptag"   name="iProductId">
                    </select>
                </td>
                {% endif %}
                {% if iProjectGrade ==1 or iProjectGrade == 3 %}
                <td><label style="width: 75px">名称:</label></td>
                <td><input  style="width: 160px" name="sProjectName" type="text" must="true" maxlength="50" autocomplete="off"></td>
                {% endif %}

                {% if iProjectGrade == 2 %}
                <td><label style="width: 75px">版本:</label></td>
                <td ><input  name="sProjectVersion" style="width: 160px" type="text" must="true" maxlength="30" autocomplete="off"></td>
                {% endif %}

                <input  name="iProjectId" type="hidden" >
                <input  name="iParentPid" type="hidden" value="{{ iParentPid }}">
                <input  name="iProjectGrade" type="hidden" value="{{ iProjectGrade }}">
                <input  name="iProjectType"  type="hidden" value="{{ projectType }}">

            </tr>
            <tr>
                <td><label style="width: 75px;">添加成员:</label></td>
                <td width="460" colspan="3">
                    <select style='width: 460px' id="memberIds" multiple="multiple"  name="memberIds[]">
                    </select>
                </td>
            </tr>
            <tr>
                {% if iProjectId %}
                    <td><label style="width:80px;">预计开始时间</label></td>
                    <td width="160"><input readonly style="width:160px;" name="tFromAt" autocomplete="off"  ></td>
                    <td><label style="width:80px;">预计完成时间</label></td>
                    <td width="160"><input readonly  name="tEndAt" autocomplete="off" ></td>
                {% else %}
                   <td><label style="width:80px;">预计开始时间</label></td>
                   <td width="160"><input class="form-date" name="tFromAt"  autocomplete="off" ></td>
                   <td><label style="width:80px;">预计完成时间</label></td>
                   <td width="160"><input class="form-date"  name="tEndAt" autocomplete="off" ></td>
                {% endif %}

            </tr>

            <tr>
                <td valign="top"><label style="margin-top: 5px">简介:</label></td>
                <td colspan="4">
                    <textarea rows="5" name="sProjectIntroduce" ></textarea>
                </td>
            </tr>
        </table>
    </div>
    <div class="xh-area-button" style="padding-left: 75px;background-color: inherit">
        {% if FormButton is defined %}{{ FormButton }}{% endif %}
    </div>
</form>